
package routers

import (
	"beego_blog/controllers"
	"github.com/astaxie/beego"
)

func Teacher_init() {
	beego.Router("/teacher/add", &controllers.TeacherController{}, "post:Add")
	beego.Router("/teacher/delete", &controllers.TeacherController{}, "post:Delete")
	beego.Router("/teacher/query", &controllers.TeacherController{}, "post:Query")
	beego.Router("/teacher/queryByPk", &controllers.TeacherController{}, "post:QueryByPk")
	beego.Router("/teacher/update", &controllers.TeacherController{}, "post:Update")
}

